/**
 *
 *
 *
 *
 * 版权所有，侵权必究！
 */

package io.renren.modules.oss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.oss.entity.SysOssEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.util.Map;

/**
 * 文件上传
 *
 * @author Mark 军事体育训练考核系统
 */
public interface SysOssService extends IService<SysOssEntity> {

	PageUtils queryPage(Map<String, Object> params);

	String upload(MultipartFile file) throws Exception;

	String download(HttpServletRequest request, HttpServletResponse response, File outFile, String outFileName) throws Exception;
}
